<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="x-ua-compatible" content="ie=edge">

  <title>{$SETTING.website_name}</title>

  {include file="../Common/cssjs"}
</head>

<body class="hold-transition sidebar-mini">
  <div class="wrapper">

    {include file="../Common/navbar"}

    {include file="../Common/sidebar"}



    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

      <!-- Main content -->
      <div class="content">
        <div class="container-fluid">
          <div class="row">
            <!-- /.col-md-12 -->
            <div class="col-lg-12">
              <div class="card card-primary">
                <div class="card-header">
                  <h3 class="card-title">添加分类</h3>
                </div>
                <!-- /.card-header -->
                <!-- form start -->
                <form role="form" method="post" action="" id="myform">
                  <div class="card-body">
                    <div class="form-group">
                      <label for="">上级分类</label>
                      {$parent|raw}
                    </div>
                    <div class="form-group">
                      <label for="">分类名称*</label>
                      <input type="text" class="form-control" name="catname" id="" placeholder="" value="">
                    </div>
                    <div class="form-group">
                      <label for="">排序</label>
                      <input type="text" class="form-control" name="listorder" id="" placeholder="" value="{$max_catid}">
                    </div>
                    
                  
                  </div>
                  <!-- /.card-body -->

                  <div class="card-footer text-center">
                    <button type="submit" name="submit" class="btn btn-primary">提交</button>
                  </div>
                </form>
              </div>
            </div>



            <!-- /.col-md-12 -->
          </div>
          <!-- /.row -->
        </div><!-- /.container-fluid -->
      </div>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
      <!-- Control sidebar content goes here -->
      <div class="p-3">
        <h5>Title</h5>
        <p>Sidebar content</p>
      </div>
    </aside>
    <!-- /.control-sidebar -->


    {include file="../Common/footer"}
  </div>
  {include file="../Category/js"}
</body>

</html>